package com.cavy.platform.server.domain.job;

import com.cavy.platform.server.domain.ContainerInfo;
import com.cavy.platform.server.mapper.JobContainerInfoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class JobContainer extends ContainerInfo {
    private JobStageStatus status = JobStageStatus.UN_EXECUTED;

    public JobContainer() {
    }

    public JobContainer(ContainerInfo info) {
        JobContainerInfoMapper.INSTANCE.convert(info, this);
    }
}
